home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Screen Parts / SystemWindowScreenPart.cp < prev    next >
Text File  |  1997-06-28  |  378b  |  19 lines

  1. // SystemWindowScreenPart.cp
  2.  
  3. #ifndef SystemWindowScreenPart_h
  4. #include "SystemWindowScreenPart.h"
  5. #endif
  6. #ifndef MouseDownEvent_h
  7. #include "MouseDownEvent.h"
  8. #endif
  9.  
  10. bool SystemWindowScreenPart::Active() const
  11.   {
  12.     return window == FrontWindow();
  13.   }
  14.  
  15. void SystemWindowScreenPart::Click( const MouseDownEvent& event ) const
  16.   {
  17.     SystemClick( &event.AsReceived(), window );
  18.   }
  19.